package com.chao.pojo;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Mapping;
import org.springframework.data.elasticsearch.annotations.Setting;

@Data
@Document(indexName = "goods",type = "doc",shards = 1,replicas = 0)
@Setting(settingPath = "/json/film-setting.json")
@Mapping(mappingPath = "/json/film-mapping.json")
public class Goods {
    private Long cid;
    private String name;
    private String isParent;
    private String parentId;
    private Long level;
    private String pathid;
}
